<template>
  <div class="home">
    <router-view class="router_wrap"></router-view>
    <van-tabbar v-model="active">
      <van-tabbar-item to="/home/substitute" icon="home-o">任务列表</van-tabbar-item>
      <van-tabbar-item to="/home/publish" icon="back-top">发布</van-tabbar-item>
      <van-tabbar-item to="/home/message" icon="envelop-o">消息</van-tabbar-item>
      <van-tabbar-item to="/home/mine" icon="friends-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data(){
    return{
      active:0
    }
  }
};
</script>

<style>
  .router_wrap{
    height: calc(100vh - 50px);
    overflow: scroll;
    
  }
  ::-webkit-scrollbar{display:none}
</style>